CommonsBooking\Model\Booking S

Total Complexity 48
Dependencies 11
Dependents 10
Total lines 367
Lines of code 202
Logical lines of code 103
Comment lines 100
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
assignBookableTimeframeFields()
S
47 6 41
bookingNotice()
S
54 6 21
formattedBookingCode()
S
59 6 13
pickupDatetime()
S
53 5 22
returnDatetime()
S
53 5 22
getBookableTimeFrame()
S
59 2 15
getLocation()
S
69 2 7
bookingLink()
S
69 2 6
sanitizeTimeField()
S
64 2 9
getItem()
S
69 2 7
formattedBookingDate()
S
62 2 10
getEndDate()
S
79 1 3
returnComment()
S
80 1 3
getBookingCode()
S
79 1 3
getStartDate()
S
80 1 3
cancel()
S
67 1 7
showBookingCodes()
S
79 1 3
sendCancellationMail()
S
75 1 4
bookingLinkUrl()
S
78 1 3